package com.dems.dao.mapper.la;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dems.dao.dataobject.Dictionary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数据字典
 *
 * @author liuyq
 * */
@Mapper
public interface DictionaryMapper extends BaseMapper<Dictionary> {

    Page<Dictionary> selectPage(Page<Dictionary> page, @Param("dic") Dictionary dictionary);

    List<Dictionary> selectByType(@Param("type") String type);
}
